home *** CD-ROM | disk | FTP | other *** search
- on(release){
- tellTarget("_level50")
- {
- gotoAndStop("off");
- }
- setProperty("colour", _visible, "0");
- if(eval("../:myList").substr(item,"1") eq "1")
- {
- check = "0";
- x = "1";
- while(length(eval("../:myList")) >= x)
- {
- check += eval("../:myList").substr(x,"1");
- x += "1";
- }
- if("1" < check)
- {
- fsSwitch = "0";
- set("_level40/sound/lib:sound","251");
- call("_level40/sound/lib:play");
- gotoAndStop(30);
- }
- }
- else
- {
- fsSwitch = "1";
- set("_level40/sound/lib:sound","250");
- call("_level40/sound/lib:play");
- gotoAndStop(40);
- }
- if(eval("../:syncDestType") == "2")
- {
- fscommand("sy_op_change",item add ":" add fsSwitch);
- }
- }
-